package com.st.qdmall.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import com.st.qdmall.entity.Order;

@Mapper
public interface OrderDao {

	/**
	 * 添加订单
	 */
	@Insert(" insert into `order` (goods_id, user_id, address, contacts, phone, price) "
			+ "value (#{goods_id}, #{user_id}, #{address}, #{contacts}, #{phone}, #{price})")
	int insert(Order order);
}
















